package com.example.demo.dao;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface UserMapper {

    List<User> selectUsers(@Param("user")User user,@Param("departIdStr")String departIdStr);

    //添加
    int addUser(User user);

    //修改
    int updateUser(User user);

    //删除
    int deleteUser(long userId);
}
